package com.shop.elasticsearch.bean;

import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

/**
 * @author Song Yinghui
 * @date 2019/12/14
 * @Version 1.0
 */

@Document(indexName = "product",type = "product")
public class ProductEntity {

    private String id ;

    private String productName;

    private String productDesc ;

    private Double productPrice;

    private String normId;

    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public String getNormId() {
        return normId;
    }

    public void setNormId(String normId) {
        this.normId = normId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
